package com.java.web.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommonUtils {
	/**
	 * 功能：获得系统当前时间
	 * @return
	 */
	public static String getCuttentTime(){
		
		Date cuttentDate=new Date(System.currentTimeMillis());
		SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		String timeStr=format.format(cuttentDate);
		return timeStr;
	}

}
